<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<title>{$this->_siteConfig->name}</title>
	{js:jquery}
	{js:validate}
	{js:dialog}
	{js:artTemplate}
	{js:form}
	<link type="image/x-icon" href="{webroot:favicon.ico}" rel="icon">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link href="{webroot:public/css/twitter-bootstrap/3.3.7/css/bootstrap.min.css}" rel="stylesheet">
	<script type='text/javascript' src='{webroot:public/javascript/twitter-bootstrap/3.3.7/js/bootstrap.min.js}'></script>
</head>

<body>
	<!--顶部导航 开始-->
	<nav class="navbar navbar-default">
		<div class="container-fluid">
            <div class="navbar-header">
                <a href="#" class="navbar-brand" title="{$sellerRow['true_name']}">{$sellerRow['true_name']}</a>
            </div>

		    <div class="collapse navbar-collapse">
    			<ul class="nav navbar-nav navbar-right">
    				{if:$this->user}
    				<li><a href="{url:/simple/logout}">您好{echo:$this->user['username']}，<span class="glyphicon glyphicon-log-out"></span> 安全退出</a></li>
    				{else:}
    				<li><a href="{url:/simple/login}"><span class="glyphicon glyphicon-log-in"></span> 登录</a></li>
    				<li><a href="{url:/simple/reg}"><span class="glyphicon glyphicon-user"></span> 注册</a></li>
    				{/if}
    				<li><a href="{url:/ucenter/index}">我的账户</a></li>
    			</ul>

        		<ul class="nav navbar-nav navbar-left">
        			<li><a>销量：{$sellerRow['sale']}</a></li>
        			<li><a>评分：{echo:statistics::gradeSeller($sellerRow['id'])}</a></li>
        			<li><a>{echo:join(' ',area::name($sellerRow['province'],$sellerRow['city'],$sellerRow['area']))}</a></li>
        			<li>{set:plugin::trigger("onServiceButton",$sellerRow['id'])}</li>
        		</ul>
    	    </div>
		</div>
	</nav>
	<!--顶部导航 结束-->

	<!--店铺模板 开始-->
	{viewcontent}
	<!--店铺模板 结束-->

	<!--页脚 开始-->
	<div class="container-fluid">
		<hr/>
		<div class="container">
		{echo:IFilter::stripSlash($this->_siteConfig->site_footer_code)}
		</div>
	</div>
	<!--页脚 结束-->
</body>
</html>
